<template>
  <div class="rank">
    <div class="tab">
      <div class="img">
        <div class="on"></div>
        <div>热卖排行</div>
      </div>
      <div class="img">
        <div class="off"></div>
        <div>热卖排行</div>
      </div>
      <div class="img">
        <div class="off"></div>
        <div>热卖排行</div>
      </div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
.rank {
  width: 1200px;
  margin: 0 auto;
}
.tab {
  display: flex;
  width: 312px;
  margin: 0 auto;
  justify-content:center;
  .on,
  .off {
    width: 35px;
    height: 35px;
    margin-left:10px;
    margin-right: 25px;
    background: url();
  }
  .on {
    background-position: -35px 0;
  }
}
</style>